import 'package:flutter/foundation.dart';

class Progress {
  final double percent;
  final double linkPlan;

  Progress(this.percent, this.linkPlan);
}

class QualityInDevelopment {
  final Progress progress;

  QualityInDevelopment(this.progress);
}

class QualityInRDTesting {
  final int caseTotal;
  final int caseExecuted;
  final String rdExecutiveRate;

  QualityInRDTesting(
      {@required this.caseTotal,
      @required this.caseExecuted,
      this.rdExecutiveRate});
}

class QualityInQATesting {
  final int caseTotal;

  /// 开发执行case数
  final int caseExecuted;
  final String rdExecutiveRate;
  final int bugTotal;
  final String bugRate;
  final int bugOpening;
  final int bugClosed;
  final int rejectedTotal;
  final int notRdExecutiveCount;
  final String notRdExecutiveRate;

  QualityInQATesting(
      {@required this.caseTotal,
        @required this.bugRate,
      @required this.rdExecutiveRate,
      @required this.notRdExecutiveCount,
      @required this.notRdExecutiveRate,
      @required this.caseExecuted,
      @required this.bugTotal,
      @required this.bugOpening,
      @required this.bugClosed,
      @required this.rejectedTotal});
}
